home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 14
/
014.d81
/
t.text boot
< prev
next >
Wrap
Text File
|
2022-08-26
|
2KB
|
116 lines
TEXTRAPOLATION
Written by: Mark Zimmermann
Random Thoughts-Randomness in Language
Commodore Microcomputers, August 1985
Page 62
TEXTRAPOLATION is a demonstration
of the redundancy of the English
language. As words are typed in, the
computer attempts to predict the next
letter before the user presses the
key.
TEXTRAPOLATION is actually a
collection of three programs. They
all try to predict the next key to be
typed, but they go about it in
different ways. TEXTRAPOLATION-1
simply keeps track of prior input and
checks for patterns. Therefore, if
you have previously typed 'THIS', then
the next time you type the letter 'I',
the program will predict that the next
character will be an 'S'. The second
version, TEXTRAPOLATION-2, predicts
the next character on the basis of
what happened two times out of three
in the past. The last version, named
TEXTRAPOLATION-3, scans prior input
and looks for patterns of three or
less characters.
While running any of these programs,
please do not use lower-case letters
or punctuation marks. To exit any of
these three programs, press the left
arrow key (_ upper-left of keyboard).
**** NOTE ****
The routines to display the text
have been modified by Alan Gardner.
Therefore, the listings in the
magazine will NOT exactly match those
on this disk. Also note that you may
type for a while without getting any
response from the computer. It takes
some time for the computer to 'learn'
the correct patterns.
This program is copyrighted by
Microcomputers magazine. All rights to
it are reserved.
LOADSTAR has relieved
you from the burden of keying in this
program. For more complete
information about this program, refer
to the August 1985 issue of Commodore
Microcomputers Magazine.
>Files used: TEXTRAPOLATION-1
TEXTRAPOLATION-2
TEXTRAPOLATION-3
--------------------------------------